package cn.tx.shiro.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Description: 描述
 * @Author：XiaoBing
 * @Date：2020/11/2 17:37
 * @Version：1.0
 */
@ConfigurationProperties(prefix = "shiro")
@Data
public class ShiroProperties {

    private String hashAlgorithmName = "md5";
    //散列次数
    private Integer hashIterations = 2;

    private String loginUrl;
    //没有授权时跳转的页面
    private String unauthorizedUrl;

    private String[] anonUrls;
    //登出页面
    private String logoutUrl;
    //需要认证的页面
    private String[] authcUrls;
}
